<div class="blade-content ng-scope" id="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <form name="form" class="form" (submit)="onCreate()" [formGroup]="formGroup" novalidate>
        <div class="blade-static __bottom" *ngIf="currentBlade.isNew">
          <button class="btn" [disabled]="!formGroup.valid">创建</button>
        </div>

        <div class="column">      
          <div class="form-group">
            <label class="form-label">名称</label>
            <div class="form-input">
              <input id="stationTagName" name="stationTagName" type="text" placeholder="输入关口表名称" autocomplete="off" formControlName="stationTagName">
            </div>
            <div *ngIf="formErrors.stationTagName" class="form-error">
              {{ formErrors.stationTagName }}
            </div>
          </div>

          <div class="form-group">
            <label class="form-label">关口表代码</label>
            <div class="form-input">
              <input id="stationTagCode" name="stationTagCode" type="text" placeholder="输入关口表代码" autocomplete="off" formControlName="stationTagCode">
            </div>
            <div *ngIf="formErrors.stationTagCode" class="form-error">
              {{ formErrors.stationTagCode }}
            </div>
          </div>

          <div class="form-group">
            <label class="form-label">表达式</label>
            <div class="form-input">
              <input id="expressionMark" name="expressionMark" type="text" placeholder="输入表达式" autocomplete="off" formControlName="expressionMark">
            </div>
            <div *ngIf="formErrors.expressionMark" class="form-error">
              {{ formErrors.expressionMark }}
            </div>
          </div>

          <div class="form-group">
            <label class="form-label">倍率</label>
            <div class="form-input">
              <input id="coefficient" name="coefficient" type="number" placeholder="输入倍率" autocomplete="off" formControlName="coefficient">
            </div>
            <div *ngIf="formErrors.coefficient" class="form-error">
              {{ formErrors.coefficient }}
            </div>
          </div>

          <div class="form-group">
            <label class="form-label">排序</label>
            <div class="form-input">
              <input name="stationTagSeq" formControlName="stationTagSeq" placeholder="输入排序">
            </div>
            <div *ngIf="formErrors.stationTagSeq" class="form-error">
              {{ formErrors.stationTagSeq }}
            </div>
          </div>
        </div>

      </form>
    </div>
  </div>
</div>
